import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import ElTable from '@/components/ElTable'
import ElTableWithOutItem from '@/components/ElTableWithOutItem'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/ElTable',
      name: 'ElTable',
      component: ElTable
    },
    {
      path: '/ElTableWithOutItem',
      name: 'ElTableWithOutItem',
      component: ElTableWithOutItem
    }
  ]
})
